﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC14Controller
    /// </summary>
    public class VYC14Controller
    {
        private static VYC14BO _vyc14Bo;
        public VYC14Controller()
        {
            _vyc14Bo = new VYC14BO();
        }
        public List<ModelVYC14> GetAllList()
        {
            return _vyc14Bo.GetAllList();
        }
        public int AddData(ModelVYC14 model)
        {
            return _vyc14Bo.AddData(model);
        }
        public int EditData(ModelVYC14 model)
        {
            return _vyc14Bo.EditData(model);
        }
        public int DeleteData(ModelVYC14 model)
        {
            return _vyc14Bo.DeleteData(model);
        }
        public List<ModelVYC14> GetById(int id)
        {
            return _vyc14Bo.GetById(id);
        }
    }
}